package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.model.dto.user.UserDTO;
import com.zhenwei.zscm.entity.UserEntity;
import com.zhenwei.zscm.model.vo.user.UserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserMapping {
    UserMapping INSTANCE = Mappers.getMapper(UserMapping.class);
    UserDTO entity2dto(UserEntity e);
    UserEntity vo2Entity(UserVO vo);
}
